package cn.ac.iie.ulss.indexer.writer;

public class LuceneConfig {

    private String tableName;
    private int luceneBufferRam;
    private int luceneBufferDocs;
    private int mergePolicyMinMergeMB;
    private int mergePolicyMaxMergeMB;
    private int mergePolicyMergeFactor;
    private int maxMergeMB_Forcemerge;
    private int normalForceMergeMB;
    private int normalForceMerge_segmemt_num;
    private int abnormalForceMergeMB;
    private int abnormalForceMerge_segmemt_num;
    private int maxdocs_singlefile;

    public int getMaxdocs_singlefile() {
        return maxdocs_singlefile;
    }

    public void setMaxdocs_singlefile(int maxdocs_singlefile) {
        this.maxdocs_singlefile = maxdocs_singlefile;
    }

    public int getMaxMergeMB_Forcemerge() {
        return maxMergeMB_Forcemerge;
    }

    public void setMaxMergeMB_Forcemerge(int maxMergeMB_Forcemerge) {
        this.maxMergeMB_Forcemerge = maxMergeMB_Forcemerge;
    }
    
    int mergePolicyMaxMergeDocs;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public int getLuceneBufferRam() {
        return luceneBufferRam;
    }

    public void setLuceneBufferRam(int luceneBufferRam) {
        this.luceneBufferRam = luceneBufferRam;
    }

    public int getLuceneBufferDocs() {
        return luceneBufferDocs;
    }

    public void setLuceneBufferDocs(int luceneBufferDocs) {
        this.luceneBufferDocs = luceneBufferDocs;
    }

    public int getMergePolicyMinMergeMB() {
        return mergePolicyMinMergeMB;
    }

    public void setMergePolicyMinMergeMB(int mergePolicyMinMergeMB) {
        this.mergePolicyMinMergeMB = mergePolicyMinMergeMB;
    }

    public int getMergePolicyMaxMergeMB() {
        return mergePolicyMaxMergeMB;
    }

    public void setMergePolicyMaxMergeMB(int mergePolicyMaxMergeMB) {
        this.mergePolicyMaxMergeMB = mergePolicyMaxMergeMB;
    }

    public int getMergePolicyMergeFactor() {
        return mergePolicyMergeFactor;
    }

    public void setMergePolicyMergeFactor(int mergePolicyMergeFactor) {
        this.mergePolicyMergeFactor = mergePolicyMergeFactor;
    }

    public int getNormalForceMergeMB() {
        return normalForceMergeMB;
    }

    public void setNormalForceMergeMB(int normalForceMergeMB) {
        this.normalForceMergeMB = normalForceMergeMB;
    }

    public int getNormalForceMerge_segmemt_num() {
        return normalForceMerge_segmemt_num;
    }

    public void setNormalForceMerge_segmemt_num(int normalForceMerge_segmemt_num) {
        this.normalForceMerge_segmemt_num = normalForceMerge_segmemt_num;
    }

    public int getAbnormalForceMergeMB() {
        return abnormalForceMergeMB;
    }

    public void setAbnormalForceMergeMB(int abnormalForceMergeMB) {
        this.abnormalForceMergeMB = abnormalForceMergeMB;
    }

    public int getAbnormalForceMerge_segmemt_num() {
        return abnormalForceMerge_segmemt_num;
    }

    public void setAbnormalForceMerge_segmemt_num(int abnormalForceMerge_segmemt_num) {
        this.abnormalForceMerge_segmemt_num = abnormalForceMerge_segmemt_num;
    }

    public int getMergePolicyMaxMergeDocs() {
        return mergePolicyMaxMergeDocs;
    }

    public void setMergePolicyMaxMergeDocs(int mergePolicyMaxMergeDocs) {
        this.mergePolicyMaxMergeDocs = mergePolicyMaxMergeDocs;
    }
}